/*******************************************************************************
 * Copyright (c) 2006 CEA List.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     CEA List - initial API and implementation
 *******************************************************************************/
package com.cea.papyrus.core.editor;


import com.cea.papyrus.core.editor.abstracteditor.IPageEditor;
import com.cea.papyrus.diagraminterchange2.di2.Diagram;

/**
 * Interface that should be implemented by Editor used as pages.
 * 
 * @author dumoulin
 */
public interface DiagramEditorPage extends IPageEditor {
	
	/**
	 * Get the diagram model associated to the editor.
	 * 
	 * @return 
	 */
	public Diagram getDiagramModel();
	
	/**
	 * Set the name to be displayed by the page.
	 * 
	 * @param string 
	 */
	public void setDisplayName(String string);


}
